<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>有间工作室 - 后台</title>

    <!-- Bootstrap core CSS -->
    <link href="/static/admin/assets/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="/static/admin/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
        
    <!-- Custom styles for this template -->
    <link href="/static/admin/assets/css/style.css" rel="stylesheet">
    <link href="/static/admin/assets/css/style-responsive.css" rel="stylesheet">

    <link href="/static/admin/assets/css/table-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

  <section id="container" >
      <!-- **********************************************************************************************************************************************************
      TOP BAR CONTENT & NOTIFICATIONS
      *********************************************************************************************************************************************************** -->
      <!--header start-->
      <header class="header black-bg">
              <div class="sidebar-toggle-box">
                  <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
              </div>
            <!--logo start-->
            <a href="{{ url_for('admin_blue.index') }}" class="logo"><b>有 间 工 作 室</b></a>
            <!--logo end-->
            <div class="nav notify-row" id="top_menu">
                <!--  notification start -->
{#                <ul class="nav top-menu">#}
{#                    <!-- settings start -->#}
{#                    <li class="dropdown">#}
{#                        <a data-toggle="dropdown" class="dropdown-toggle" href="index.html#">#}
{#                            <i class="fa fa-tasks"></i>#}
{#                            <span class="badge bg-theme">4</span>#}
{#                        </a>#}
{#                        <ul class="dropdown-menu extended tasks-bar">#}
{#                            <div class="notify-arrow notify-arrow-green"></div>#}
{#                            <li>#}
{#                                <p class="green">You have 4 pending tasks</p>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">DashGum Admin Panel</div>#}
{#                                        <div class="percent">40%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">#}
{#                                            <span class="sr-only">40% Complete (success)</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">Database Update</div>#}
{#                                        <div class="percent">60%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">#}
{#                                            <span class="sr-only">60% Complete (warning)</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">Product Development</div>#}
{#                                        <div class="percent">80%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">#}
{#                                            <span class="sr-only">80% Complete</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <div class="task-info">#}
{#                                        <div class="desc">Payments Sent</div>#}
{#                                        <div class="percent">70%</div>#}
{#                                    </div>#}
{#                                    <div class="progress progress-striped">#}
{#                                        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%">#}
{#                                            <span class="sr-only">70% Complete (Important)</span>#}
{#                                        </div>#}
{#                                    </div>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li class="external">#}
{#                                <a href="#">See All Tasks</a>#}
{#                            </li>#}
{#                        </ul>#}
{#                    </li>#}
{#                    <!-- settings end -->#}
{#                    <!-- inbox dropdown start-->#}
{#                    <li id="header_inbox_bar" class="dropdown">#}
{#                        <a data-toggle="dropdown" class="dropdown-toggle" href="index.html#">#}
{#                            <i class="fa fa-envelope-o"></i>#}
{#                            <span class="badge bg-theme">5</span>#}
{#                        </a>#}
{#                        <ul class="dropdown-menu extended inbox">#}
{#                            <div class="notify-arrow notify-arrow-green"></div>#}
{#                            <li>#}
{#                                <p class="green">You have 5 new messages</p>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-zac.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                    <span class="from">Zac Snider</span>#}
{#                                    <span class="time">Just now</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Hi mate, how is everything?#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-divya.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                    <span class="from">Divya Manian</span>#}
{#                                    <span class="time">40 mins.</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                     Hi, I need your help with this.#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-danro.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                    <span class="from">Dan Rogers</span>#}
{#                                    <span class="time">2 hrs.</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Love your new Dashboard.#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">#}
{#                                    <span class="photo"><img alt="avatar" src="/static/admin/assets/img/ui-sherman.jpg"></span>#}
{#                                    <span class="subject">#}
{#                                    <span class="from">Dj Sherman</span>#}
{#                                    <span class="time">4 hrs.</span>#}
{#                                    </span>#}
{#                                    <span class="message">#}
{#                                        Please, answer asap.#}
{#                                    </span>#}
{#                                </a>#}
{#                            </li>#}
{#                            <li>#}
{#                                <a href="index.html#">See all messages</a>#}
{#                            </li>#}
{#                        </ul>#}
{#                    </li>#}
{#                    <!-- inbox dropdown end -->#}
{#                </ul>#}
                <!--  notification end -->
            </div>
            <div class="top-menu">
            	<ul class="nav pull-right top-menu">
                    <li><a class="logout" href="{{ url_for('index_blue.index') }}">返回前台</a></li>
            	</ul>
            </div>
        </header>
      <!--header end-->
      
      <!-- **********************************************************************************************************************************************************
      MAIN SIDEBAR MENU
      *********************************************************************************************************************************************************** -->
      <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu" id="nav-accordion">
              <p class="centered"><a href="#">
                        {% if user.avatar_url %}
                        <img src="{{ user.avatar_url }}" class="img-circle" width="60" height="60"></a>
                        {% else %}
                        <img src="/static/_files/ui-sam.jpg" class="img-circle" width="60" height="60"></a>
                        {% endif %}
                    </p>
                    <h5 class="centered" style="color:red;">{{ user.nick_name }}  管理员</h5>
              	  	
                  <!-- <li class="mt">
                      <a href="index.html">
                          <i class="fa fa-dashboard"></i>
                          <span>Dashboard</span>
                      </a>
                  </li> -->

                  <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-desktop"></i>
                        <span>资源数据中心</span>
                    </a>
                    <ul class="sub">
                        <li><a href="{{ url_for('.resource') }}">资源分享</a></li>
                        <li><a href="{{ url_for('.technology') }}">技术教程</a></li>
                        <li><a href="{{ url_for('.resource_vip') }}">VIP资源</a></li>
                        <li><a href="{{ url_for('.hardware') }}">硬件相关</a></li>
                        <li><a href="{{ url_for('.hot_spot') }}">热点资讯</a></li>
                    </ul>
                </li>
                <li class="sub-menu">
                    <a href="javascript:;" class="active">
                        <i class="fa fa-cogs"></i>
                        <span>用户数据中心</span>
                    </a>
                    <ul class="sub">
                        <li class="active"><a href="{{ url_for('.pt_user_list')}}">普通用户</a></li>
                        <li><a href="{{ url_for('.vip_user_list')}}">VIP用户</a></li>
                    </ul>
                </li>
               <li class="sub-menu">
                        <a href="{{ url_for('.orders') }}">
                            <i class="fa fa-building"></i>
                            <span>商品订单数据</span>
                        </a>
                    </li>
              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
      
      <!-- **********************************************************************************************************************************************************
      MAIN CONTENT
      *********************************************************************************************************************************************************** -->
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
          	<h3><i class="fa fa-angle-right"></i> 普通用户数据</h3>
		  		<div class="row mt">
			  		<div class="col-lg-12">
                      <div class="content-panel">
                      <h4><i class="fa fa-angle-right"></i> 普通用户</h4>
                          <section id="unseen">
                            <table class="table table-bordered table-striped table-condensed">
                              <thead>
                              <tr>
                                  <th>昵称</th>
                                  <th>签名</th>
                                  <th class="numeric">性别</th>
{#                                  <th class="numeric">累计充值</th>#}
{#                                  <th class="numeric">VIP等级</th>#}
                                  <th class="numeric">注册时间</th>
                                  <th class="numeric">最后登录</th>
                                  <th class="numeric">手机号</th>
{#                                  <th class="numeric">是否为管理员</th>#}
                              </tr>
                              </thead>
                              <tbody>
                              {% for user in user_list %}
                              <tr>
                                  <td>{{ user.get("name") }}</td>
                                  <td>{{ user.get("signature") }}</td>
                                  <td class="numeric">{{ user.get("gender") }}</td>
{#                                  <td class="numeric">$1.38</td>#}
{#                                  <td class="numeric">-0.36%</td>#}
                                  <td class="numeric">{{ user.get("create_time") }}</td>
                                  <td class="numeric">{{ user.get("last_login_time") }}</td>
                                  <td class="numeric">{{ user.get("mobile") }}</td>
{#                                  <td class="numeric">{{ user.get("is_admin") }}</td>#}
                              </tr>
                              {% endfor %}
                              </tbody>
                          </table>
                          </section>
                  </div><!-- /content-panel -->
               </div><!-- /col-lg-4 -->
		  	</div><!-- /row -->
		</section><! --/wrapper -->
      </section><!-- /MAIN CONTENT -->

      <!--main content end-->
      <!--footer start-->
{#      <footer class="site-footer">#}
{#          <div class="text-center">#}
{#              2014 - Alvarez.is - More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>#}
{#              <a href="responsive_table.html#" class="go-top">#}
{#                  <i class="fa fa-angle-up"></i>#}
{#              </a>#}
{#          </div>#}
{#      </footer>#}
      <!--footer end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="/static/admin/assets/js/jquery.js"></script>
    <script src="/static/admin/assets/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="/static/admin/assets/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="/static/admin/assets/js/jquery.scrollTo.min.js"></script>
    <script src="/static/admin/assets/js/jquery.nicescroll.js" type="text/javascript"></script>


    <!--common script for all pages-->
    <script src="/static/admin/assets/js/common-scripts.js"></script>

    <!--script for this page-->
    

  </body>
</html>
